package com.hong.service_product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hong.fy_model.model.review.ReviewEntity;




/**
 * 
 *
 * @author wqh
 * @email 1601709391@qq.com
 * @date 2022-06-15 20:37:30
 */
public interface ReviewService extends IService<ReviewEntity> {

     //用户评论接口
     Boolean reply( ReviewEntity review);
     //根据评论id删除评论
    Boolean deleteReview(String  reviewId);
     //根据商品id分页查询评论
    IPage<ReviewEntity> listByProductId(String productId, Integer pageNum, Integer limit);

    Boolean like(String reviewId);
}

